package com.xmy.cultivate.controller;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xmy.cultivate.entity.CourseSchedulingDetail;
import com.xmy.cultivate.entity.OrderDetail;
import com.xmy.cultivate.entity.response.GetCourseList;
import com.xmy.cultivate.service.ICourseSchedulingService;
import com.xmy.cultivate.service.IOrderDetailService;
import com.xmy.cultivate.util.Code;
import com.xmy.cultivate.util.PageResult;
import com.xmy.cultivate.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;
import java.util.stream.Collectors;

@RestController
@RequestMapping("/api/course")
public class CourseController extends BaseController{

    @Autowired
    @Lazy
    ICourseSchedulingService iCourseSchedulingService;

    @Autowired
    @Lazy
    IOrderDetailService iOrderDetailService;

    @GetMapping()
    public Result getCourse(@RequestParam Map reMap){

        return new Result(Code.OK);
    }
}
